//
//  HomeForthCollectionViewCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/5/12.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "HomeForthCollectionViewCell.h"

@interface HomeForthCollectionViewCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLab;
@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end

@implementation HomeForthCollectionViewCell

- (void)setModel:(HomeGoodsTypeModel *)model
{
    _model = model;
    self.nameLab.text = model.productTypeName;
    self.subTitleLab.text = model.describes;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.productTypeImage] placeholderImage:GetImage(@"beijngtu")];
}

@end
